package com.lau.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author:Lau
 * @create: 2024-02-05 13:37
 * @Description: 项目启动之前，预先加载数据
 */
@Slf4j
@Component
public class SystemInitConfig implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        log.info(">>>>>>>>>>>>>>>服务启动执行，执行加载数据等操作<<<<<<<<<<<<<");
    }
}
